package apiday02;

public class StringBufferDemo03 {
    public static void main(String[] args) {
        StringBuffer buf = new StringBuffer();
        long t1 = System.currentTimeMillis();
        for (int i = 0; i < 50000; i++) {
            buf.append("A");
        }

        long t2 = System.currentTimeMillis();
        System.out.println(t2 - t1);
    }
}
